메인 콘텐츠로 건너뛰기
POST
/
privacy
/
consents
Upsert a privacy consent
curl --request POST \
  --url https://your_a2_service/privacy/consents \
  --header 'Content-Type: application/json' \
  --data '{
  "consent_channel": "web_login",
  "consent_date": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "email": "<string>",
  "is_agreed": true,
  "policy_version": "1.0.0",
  "updated_at": "2023-11-07T05:31:56Z",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "consent_channel": "web_login",
  "consent_date": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "is_agreed": true,
  "policy_version": "1.0.0",
  "updated_at": "2023-11-07T05:31:56Z",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Body

application/json

개인정보 활용 동의 업데이트 스키마

개인정보 활용 동의가 수집된 채널

Examples:

"web_login"

email
string
required

유저 이메일

is_agreed
boolean
required

사용자가 개인정보 처리방침에 동의했는지 여부

policy_version
string
required

개인정보 활용 동의 버전

Examples:

"1.0.0"

user_id
string<uuid>
required

유저 id

개인정보 활용 동의 일자

created_at
string<date-time> | null

생성 일시

updated_at
string<date-time> | null

변경 일시

Response

Successful Response

개인정보 활용 동의 스키마

개인정보 활용 동의가 수집된 채널

Examples:

"web_login"

is_agreed
boolean
required

사용자가 개인정보 처리방침에 동의했는지 여부

policy_version
string
required

개인정보 활용 동의 버전

Examples:

"1.0.0"

user_id
string<uuid>
required

유저 id

개인정보 활용 동의 일자

created_at
string<date-time> | null

생성 일시

updated_at
string<date-time> | null

변경 일시